package com.mao.service.impl.voucher;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.mao.dao.voucher.ProductDeliveryVoucherDao;
import com.mao.dao.voucher.ProductReturnDeliveryVoucherDao;
import com.mao.dao.voucher.ProductWareHouseVoucherDao;
import com.mao.model.voucher.ProductDeliveryVoucher;
import com.mao.model.voucher.ProductReturnDeliveryVoucher;
import com.mao.model.voucher.ProductWareHouseVoucher;
import com.mao.service.voucher.IProductDeliveryVoucherService;
import com.mao.service.voucher.IProductReturnDeliveryVoucherService;
import com.mao.service.voucher.IProductWareHouseVoucherService;

@Service("prdvService")
public class ProductReturnDeliveryVoucherServiceImpl<T> implements
		IProductReturnDeliveryVoucherService {

	private ProductReturnDeliveryVoucherDao prdvDao;

	public ProductReturnDeliveryVoucher savePrdv(
			ProductReturnDeliveryVoucher prdv) {
		return prdvDao.savePrdv(prdv);
	}

	public ProductReturnDeliveryVoucherDao getPrdvDao() {
		return prdvDao;
	}

	@Autowired
	public void setPrdvDao(ProductReturnDeliveryVoucherDao prdvDao) {
		this.prdvDao = prdvDao;
	}

}
